﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>水电抄表维护</title>
    <link href="../../../../WebPlugin/jquery-easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../../../WebPlugin/jquery-easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../../../WebPlugin/jquery-easyui/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../../../../WebPlugin/jquery-easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>

    <script src="../../../../WebPlugin/jquery-easyui/JQueryCommon.js" type="text/javascript"></script>
    <script src="../../PageJS/Cost/HistoryMeterForm.js" type="text/javascript"></script>
    <script>
        $(function() {
            var date = new Date();
            var value = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate();
            $('#bdate').datebox('setValue', value);
            $('#edate').datebox('setValue', value);
         });
    </script>
</head>
<body class="easyui-layout">
    <div region="west" split="true" id="layout_west" style="width:350px;" closable="false" title="历史表单查询"> 
            <div class="easyui-layout" fit="true" border="false">
            <div  region="north" border="false">
	        <table style="padding:10px;">
	            <tr>
			        <td>开始时间:</td>
			        <td>
			        <input id="bdate" class="easyui-datebox"  style="width:200px;" required="true" ></input></td>
		        </tr>
		        <tr>
			        <td>结束时间:</td>
			        <td>
			        <input id="edate" class="easyui-datebox"  style="width:200px;" required="true" ></input></td>
		        </tr>
		       <tr>
			        <td>请选择分类:</td>
			        <td>
			        <input id="cbformType" class="easyui-combobox"  style="width:200px;" required="true" valueField="code" textField="name" value="0" ></input></td>
		        </tr>
		        <tr>
			        <td>请选择类型:</td>
			        <td>
			        <input id="cbarea" class="easyui-combobox" style="width:200px;"  required="true" valueField="code" textField="name"  value="0"></input></td>
		        </tr>
		        
		        <tr>
			        <td colspan="2" align="center"><a href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="btn_searchmakeform();">查找</a></td>
		        </tr>
	        </table>
	        </div>
	         <div region="center" border="false" title="表单列表">
	                
	              <table id="makeformlistGird"  class="easyui-datagrid" fit="true" border="false" iconCls="icon-edit" singleSelect="true" pagination="true">
		             <thead>
			            <tr>
				            <th field="BillNo" width="100">单据号</th>
				            <th field="MeterType2" width="80" formatter="typeFormatter2">分类</th>
				            <th field="MeterType" width="80" formatter="typeFormatter1">类型</th>
				            <th field="MeterDate" width="120">建立时间</th>
				            <th field="CompleteFlag" width="80">是否完成</th>
				            <th field="GetEmpName" width="100">抄表人</th>
				            <th field="EmpName" width="100">登记人</th>
			            </tr>
		            </thead>
	               </table>
	        </div>
	    </div>
    </div>
    <div region="center"  title="表单明细">
   	    <div id="tool2">
            <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-print" onclick="">打印</a>
        </div>
	    <table id="formorderGrid"  class="easyui-datagrid" toolbar="#tool2" fit="true" singleSelect="true" pagination="true">
           <thead>
            <tr>
	            <th field="SrccName" width="80">房间号</th>
	            <th field="OwnerName" width="100">业主</th>
	            <th field="LastMeterDate" width="120">上次抄表时间</th>
	            <th field="LastNum" width="80">上次数量</th>
	            <th field="ThisMeterDate" width="120">本次抄表时间</th>
	            <th field="ThisNum" width="80">本次数量</th>
	            <th field="MeterNum" width="80" styler="MeterNumStyler">用量</th>
	            <th field="Thiscost" width="100">本次应交</th>
            </tr>
        </thead>
       </table>
    </div>
</body>

</html>
